package com.bfly.mall.admin.dto;

import java.io.Serializable;
import java.util.List;

/**
 * 管理员信息-- 登录返回客户端信息
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/9/15 20:39
 */
public class AdminDTO implements Serializable {

    private static final long serialVersionUID = -7308145872731455684L;
    private String userName;
    private String phone;
    private String realName;
    private String avatarUrl;
    // JWT Token
    private String token;

    /**
     * 权限
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/10/14 15:52
     */
    private List<String> perms;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<String> getPerms() {
        return perms;
    }

    public void setPerms(List<String> perms) {
        this.perms = perms;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }
}